package com.cnpinxi.service;


import com.cnpinxi.domain.Order;
import com.cnpinxi.domain.PayParameter;

import java.util.Map;

/**
 * Created by baggio on 2016/12/26.
 */
public interface PayService {
    PayParameter pay(String orderId, String price,  String remoteAddr, Map<String, String> payParametersMap) throws Exception;
    Map<String, String> notification(Map<String, String> map);
    PayParameter refund(Order order, Integer price);
}
